<?php get_header(); ?>

<!-- PRIMARY CONTENT (start) -->
		
<div id="primary">

    <?php if($themeblvd_sidebar == 'left') : ?>
    	<?php get_sidebar(); ?>
    <?php endif; ?>

    <div id="content">
        <div class="pad">
			
			<?php themeblvd_breadcrumbs(); ?>
			
            <h2 class="page-title">Search Results for <?php echo $s; ?></h2>

            <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>

            <div class="archive">
                    <h4><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h4>
                    <?php the_excerpt(); ?>
            </div><!-- .achive (end) -->

            <?php endwhile; ?>

            <!-- Page Navi -->
            <?php if(function_exists('themeblvd_pagination')) { themeblvd_pagination(); } ?>

            <?php else : ?>
                <p><?php _e("Sorry nothing here matched what you searched for.", "themeblvd"); ?></p>
            <?php endif; ?>

        </div><!-- .pad (end) -->
    </div><!-- #content (end) -->

    <?php if($themeblvd_sidebar == 'right') : ?>
    	<?php get_sidebar(); ?>
    <?php endif; ?>

<?php get_footer(); ?>